package iscript.gameFramework.IsoLibarys.util 
{
	import iscript.gameFramework.IsoLibarys.data.IsoBaseData;
	import iscript.gameFramework.IsoLibarys.data.IsoBound;
	import iscript.gameFramework.IsoLibarys.data.IsoBuilderList;
	import iscript.gameFramework.IsoLibarys.display.IsoSprite;
	import iscript.gameFramework.IsoLibarys.display.IsoTile;
	import iscript.gameFramework.IsoLibarys.IsoView;
	import iscript.gameFramework.IsoLibarys.state.IsoSpriteState;
	/**
	 * ...
	 * @author raymond
	 */
	public class IsoViewDisplayUtil 
	{
 
		static public function  isoSpriteGroundChange(buildList:IsoBuilderList,visible:Boolean,state:String=null):void {
			     for each(var item:IsoSprite  in buildList.getAllIsoSprite()) {
					    item.visible = visible;
						if(state!=null)item.setState(state)
					 }
			}
			
			
	
		
	}

}

